package com.qf.test.service;

import com.qf.test.dao.StuDao;
import com.qf.test.entity.Student;

import java.util.List;

/**
 * description:
 * author: Ken
 * 公众号：Java架构栈
 */
public class StuService {

    private StuDao stuDao = new StuDao();

    /**
     * 查询学生列表
     * @return
     */
    public List<Student> queryStus(){
        List<Student> stus = stuDao.queryAll();
        return stus;
    }
}
